// 0506_Fibonacci.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
/*"Fibonacci"

  Time Limit:   1000MS       Memory Limit:   65535KB 
  Submissions:   1481       Accepted:   295 
  
	
	  DescriptionThere are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2). 
	  InputInput consists of a sequence of lines, each containing an integer n. (n < 1,000,000,000). 
	  OutputPrint the word "yes" if 3 divide evenly into F(n).  Print the word "no" if not. 
	  Sample Input
	  0
	  1
	  2
	  3
	  4
	  5
	  Sample Output
	  no
	  no
	  yes
	  no
	  no
	  noHint 
	  SourceSCS 
	  __________________________________________________________________
	  
*/
#include <stdio.h>
int main()
{
	int n,f,i;
	while(scanf("%d",&n) != EOF)
	{
		if(n<=1)
			printf("no\n");
		else if(n==2)
			printf("yes\n");
		else
		{
			if(n%4==2)
				printf("yes\n");
			else
				printf("no\n");
		}
		
	}
	return 0;
}
